package com.bsoft.exchange.dao.his;

import com.bsoft.exchange.pojo.JsjlPojo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * Created by Lenovo on 2020/8/19.
 */
@Mapper
public interface YBServiceMapper {

    String  getzhouqihao(@Param("yhid") String yhid);

    void save(@Param("yhid") String yhid, @Param("ywzq") String ywzq, @Param("qdrq")Date qdrq,@Param("qtrq")Date qtrq);

    void update(@Param("yhid") String yhid, @Param("ywzq") String ywzq,@Param("qtrq")Date qtrq);

    String getCardNum(@Param("brid") Long brid);

    String getMzlsh(@Param("jzxh") Long jzxh);

    void saveYcjb(JsjlPojo jsjlPojo);

    void updateYcjd(@Param("fsfjyls") String fsfjyls,@Param("zxjyls") String zxjyls,@Param("mzzyh") Long mzzyh);

    String getFphm(@Param("csmc") String csmc);

    void updateFphm(@Param("csz") String csz);

    Long selectBridByYyxh(@Param("yyxh") Long yyxh);

    String selectMzlshByYyxh(@Param("yyxh") Long yyxh);
}
